Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633463 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game

button.png cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game/button.png
102 Views
0 Comments
Media file
styles.css cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game/styles.css
115 Views
0 Comments
#app {
width: 400px;
height: 400px;
margin: 0 auto;
position: relative;
}
body{
background-image: linear-gradient(to right, rgb(53, 6, 81),rgb(158, 10, 10));
wheel.png cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game/wheel.png
108 Views
0 Comments
Media file
index.html cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game/index.html
304 Views
0 Comments
<!DOCTYPE html>
<html>
<head>
<title>Weiben - Wheel of fortune</title>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>

readme.md cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game/readme.md
180 Views
0 Comments
# Spin Wheel Game🎡
> It's a Spin Wheel Game made using HTML,CSS,JS , The Code is responsive and here after clicking the start button a random options will be selected by indicator after few moments of rotating.

## Tech Stack:
**HTML,CSS,JAVASCRIPT**
## Screenshot:


marker.png cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game/marker.png
109 Views
0 Comments
Media file
script.js cody/swapnilsparsh/30DaysOfJavaScript/173 - Spin The Wheel Game/script.js
163 Views
0 Comments

(function() {
const wheel = document.querySelector('.wheel');
const startButton = document.querySelector('.button');
let deg = 0;

startButton.addEventListener('click', () => {